#ifndef __BSP_CAN_H__
#define __BSP_CAN_H__


#include "at32f403a_407.h"

typedef struct {
	uint16_t len;
	uint8_t data[8];
}st_MA,*pst_MA;



void at32_can_init(void);
uint8_t can_data_recv(pst_MA st_data);
void can_transmit_data(uint16_t len,uint8_t * buf);


#endif

